﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

//测试listpanel
public class TextListItem : ListPanelItem<TextListData>
{
    public override void SetData(TextListData data)
    {
        FindComponent<Text>("Text").text = data.TestNum.ToString();
    }
}


public class TextListData : ListPanelData
{
    public int TestNum { get; set; }
}
